<template>
    <div v-bind:class="className">梦想</div>
</template>

<script setup>
const className = 'box'
</script>
<style>
.box{
    border:1px solid black;
}
</style>